/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package electroerp;

import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.cfg.AnnotationConfiguration;
import org.hibernate.cfg.Configuration;
import swing.InterfazPrincipal;

/**
 *
 * @author ariel
 */
public class Electroerp {

    /**
     * @param args the command line arguments
     */
    public static final double IVA = 0.21;

    public static void main(String[] args) {
        // TODO code application logic here
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Windows".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException | InstantiationException | IllegalAccessException | javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(InterfazPrincipal.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the dialog */
        java.awt.EventQueue.invokeLater(new Runnable() {
            @Override
            public void run() {
                InterfazPrincipal main = new InterfazPrincipal();
                main.setVisible(true);
            }
        });



        /**
         * java.awt.EventQueue.invokeLater(new Runnable() {
         *
         * @Override public void run() { //new TablaClientes().setVisible(true);
         * new InterfazPrincipal().setVisible(true); } });*
         */
    }

}
